package com.xckj.cycling.utils

import android.content.Intent
import com.xckj.cycling.framework.lazyGlobalViewModel
import com.xckj.cycling.framework.BaseActivityKt
import com.xckj.cycling.viewmodel.LoginViewModel

abstract class BaseLoginUtil(protected val activity: BaseActivityKt) {
    protected val viewModel: LoginViewModel by lazyGlobalViewModel()
    abstract fun startLogin()
    abstract fun onDestroy()

    open fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {

    }
}